import Vue from 'vue'
import Router from 'vue-router'
import Test from '../views/test'

Vue.use(Router);

let routes = [
  { path: '/test', component: Test, name: 'test' },
  { path: '/', redirect: {path: '/test'} },
];
export default new Router({
  mode: 'hash',
  routes: routes
})
